import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
//引入./redux/store 和react-redux封装的{Provider} 用以给容器传递store（这样redux和容器能互通数据）
// import store from './redux/store'
import {Provider} from 'react-redux'

ReactDOM.render(
	/* *****react-redux所有知识从这里开始看*****
	入口文件：此处需要用Provider包裹App，并给App所有的后代容器组件传递store */
	<Provider store={store}>
		<App/>
	</Provider>,
	document.getElementById('root')
)